package com.qf.hello.spring.rent;

public class FangdongProxy  implements  Fangdong{

    private FangdongTarge fangdongTarge=new FangdongTarge();

    @Override
    public void rentHouse() {
        //中介要干的事情
        System.out.println("发布房源信息");
        System.out.println("带租户看房");
        // 联系房东，让房东来收房租
        fangdongTarge.rentHouse();
        //中介要干的事情
        System.out.println("给租户安排入住");
    }
}
